<template>
	<!-- 我的-系统服务  -->
	<view class="services">
		<view class="title">
			系统服务
		</view>
		<view class="main">
			<button class="customerService" open-type="contact">
				<view class="main-item" @click="JumpCustomerService">
					<image src="../../static/my/customerService.png" mode=""></image>
					<!-- <img src="../../static/my/customerService.png" alt=""> -->
					<view class="main-item-customerService">
						在线客服
					</view>
				</view>
			</button>
			
			<view class="main-item" @click="JumpFeedback">
				<!-- <image src="../../static/my/Feedback.png" mode=""></image> -->
				<img src="../../static/my/Feedback.png" alt="">
				<view class="">
					投诉反馈
				</view>
			</view>
			<view class="main-item" @click="JumpSetUp">
				<!-- <image src="../../static/my/setup.png" mode=""></image> -->
				<img src="../../static/my/setup.png" alt="">
				<view class="">
					设置
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		methods: {
			// 跳转到在线客服
			JumpCustomerService(){
				uni.navigateTo({
					url:'../../pages/my/SystemEntry/customerService'
				})
			},
			// 投诉反馈
			JumpFeedback(){
				uni.navigateTo({
					url:'../../pages/my/SystemEntry/Feedback'
				})
			},
			// 跳转到设置
			JumpSetUp(){
				uni.navigateTo({
					url:'../../pages/my/SystemEntry/setUp'
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.services {
		background: white;
		border-radius: 14rpx;
		.title {
			font-size: 30rpx;
			font-weight: 400;
			padding-top: 20rpx;
			padding-left: 21rpx;
		}
		.main {
			display: flex;
			justify-content: space-around;
			// width: 500rpx;
			padding-bottom: 20rpx;
			::v-deep .customerService {
				// width: 100rpx;
				// height: 100rpx
				background: #FFFFFF;
				padding: 0;
				margin: 0;
			}
			.customerService::after{
				border: none;
			}
			.main-item {
				position: relative;
				width: 200rpx;
				font-size: 24rpx;
				text-align: center;
				margin-top: 25rpx;
				image {
					width: 42rpx;
					height: 42rpx;
				}
				img {
					width: 42rpx;
					height: 42rpx;
				}
				.main-item-customerService {
					position: absolute;
					// top: 45rpx;
					top: 34rpx;
					left: 0;
					width: 100%;
				}
			}
			
		}
	}
</style>